package com.hu.chat.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hu.chat.mapper.UserMapper;
import com.hu.chat.model.base.User;
import com.hu.chat.model.vo.UserListVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService extends ServiceImpl<UserMapper, User> {

    // 用户列表
    public List<UserListVo> list(Integer userId) {
        return baseMapper.list(userId);
    }


}





